package com.situ.mall.design.observer;



public class NewsPaper extends Subject{
    //报纸的具体内容
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
        //报纸内容改变之后，通知所有的读者
        notifyObservers();
    }
}
